package com.xiaozhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author 烟尘
 * @since 2023-03-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("question_bank")
public class QuestionBank implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题库id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 题库名称
     */
    @TableField("bank_name")
    private String bankName;

    /**
     * 时间
     */
    @TableField("time")
    private LocalDateTime time;

    /**
     * 年级
     */
    @TableField("grade")
    private String grade;

    /**
     * 题目id
     */
    @TableField("question_id")
    private Integer questionId;


}
